package com.lagou.dao;

import com.lagou.domain.PromotionSpace;

import java.util.List;

public interface PromotionSpaceMapper {

    /**
     * 获取所有广告位
     */
    public List<PromotionSpace> findAll();

    /**
     * 添加广告位
     */
    public void savePromotionSpace(PromotionSpace promotionSpace);

    /**
     * 根据ID回显广告位
     */

    public PromotionSpace findPromotionSpaceById(Integer id);

    /**
     * 修改广告位
     */
    public void updatePromotionSpace(PromotionSpace promotionSpace);
}
